package com.mes.check.dao.iface;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.bstek.dorado.data.provider.Page;
import com.mes.check.domain.Reject;
import com.mes.common.dao.iface.IBasicDao;

public interface IRejectDao extends IBasicDao<Reject> {

	/**
	 * 根据多个条件查询废品单，图号、批次、废品单号、有效性、废品单状态
	 * @param page
	 * @param params
	 * @throws Exception
	 */
	public void getRejectBillsByConditions(Page<Reject> page, Map<String, Object> params) throws Exception;
	
	public List<Reject> getRejects(String deptUid, Date fromDate,
			Date toDate, Long from, Long size);
	
	public List<Reject> getRejectsByDefectJudgeUid(String defectJudgeUid);
	
}
